Remove nested record from tuple in list comprehension in python

welcome to shbcf.ru